<?php

function dirLoader(){
	if(!defined('BASE_FOLDER'))
		exit('BASE_FOLDER not configured!! Please configure base folder');
		
	if(!defined('CORE_FOLDER'))
		define('CORE_FOLDER', $base_folder.'/core');
		
	if(!defined('LANG_FOLDER'))
		define('LANG_FOLDER', $base_folder.'/lang');
		
	if(!defined('RESOURCE_FOLDER'))
		define('RESOURCE_FOLDER', $base_folder.'/resources');
		
	if(!defined('SETTINGS_FOLDER'))
		define('SETTINGS_FOLDER', $base_folder.'/settings');
		
	if(!defined('APPLICATION_FOLDER'))
		define('APPLICATION_FOLDER', $base_folder.'/application');
}
?>